﻿function openFiltersWindow()
{
    document.getElementById("filtersFrame").src = "/r-face/filters.aspx";
    document.getElementById("modalBackground").style.display = "inline";
    document.getElementById("modalWindow").style.display = "inline";
}

function downloadReport()
{
    var theForm = document.forms[0];
    theForm.action = "/r-face/download.ashx";
    theForm.target = "download";
    theForm.submit();
    theForm.action = "";
    theForm.target = "";
}

function removeAllFilters()
{
    document.getElementById("RemoveAllFilters").value = "1";
    document.forms[0].submit();
}